/********************************************************************************
 *
 *      Copyright:  (C) 2022 Nbiot<lingyun@gail.com>
 *                  All rights reserved.
 *
 *       Filename:  se_at.h
 *    Description:  This head file 
 *
 *        Version:  1.0.0(18/07/22)
 *         Author:  Nbiot <lingyun@gail.com>
 *      ChangeLog:  1, Release initial version on "18/07/22 02:37:08"
 *                 
 ********************************************************************************/
#ifndef _PARSE_DATA_H
#define _PARSE_DATA_H
#include "com_func.h"
#include "logger.h"
#include "at_cmd.h"


typedef struct mccmcnapn_s
{
	char      mcc[8]; 
	char      mnc[8]; 

	char      apn[8]; 
}cna_t;

void parse_apn(char *file_name, cna_t *cna);

int parse_mccmnc(comport_t *com, cna_t *cna);

int set_apn(comport_t *com, cna_t *cna);
//检测sim卡是否存在
#endif
